import type { ComponentResolver } from "unplugin-vue-components/types";

export const dirs: string[] = [];

export const imports: Imports = {
  vue: ["proxyRefs"],

  "lodash-es": ["get", "set", "first", "merge", "isArray"],
  "@dcloudio/uni-app": ["onShow", "onHide", "onLoad", "onReady", "onLaunch"],

  "@/utils": ["dayjs", "request", "appendDefaultQuery"],
  "@/stores": ["setupStore"],
  "@/composables": ["useTime"],
};

export const resolver: ComponentResolver[] = [
  {
    type: "component",
    resolve(name: string) {},
  },
];
